package com.learn.learnsystem.service.setting.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.learn.learnsystem.entity.login.LoginUser;
import com.learn.learnsystem.mapper.LoginUserMapper;
import com.learn.learnsystem.service.setting.LoginUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginLoginUserServiceImpl extends ServiceImpl<LoginUserMapper, LoginUser> implements LoginUserService {

    @Autowired
    private LoginUserMapper loginUserMapper;

    @Override
    public List<LoginUser> getAllLoginUser() {
        List<LoginUser> loginUsers = loginUserMapper.selectAllLoginUser();
        return loginUsers;
    }
}
